package com.ruoyi.personnel.mapper;

import com.ruoyi.personnel.domain.Job;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface JobMapper {

    public List<Job> queryByPage(@Param("searchValue") String searchValue);

    public List<Job> getList();

    public int insert(Job job);

    public int update(Job job);

    public int delByIds(@Param("ids") Long[] ids);

    public Integer getIdByName(@Param("name") String name);

    public Job getJobById(@Param("id") int id);

    public Job getJobByName(@Param("name") String name);
}
